package com.lumlord.common.annotation.rpc;

import com.lumlord.common.spring.NetBridgeRegister;
import org.springframework.context.annotation.Import;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/*@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
@Import(NetBridgeRegister.class)*/
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})

public @interface Server {
    /**
     * 配置文件中 lumlord.server.
     * 下 服务名称
     * @return
     * 配置文件key
     */
    String value();
}
